<?php namespace App\Services\Admin;

use App\Facades\Infra\Admin\WechatUserManage;

class WechatUserService{

	public function getWechatUsers(){
		return WechatUserManage::getWechatUsers()->paginate(10);
	}

	public function getWechatUser($data){

		$conditions['id'] = $data['id'];

		return WechatUserManage::getWechatUsers($conditions)->first();
	}
}